all:c_mlog_example.obj cpp_mlog_example.obj
	link c_mlog_example.obj mlog.lib
	link cpp_mlog_example.obj mlog.lib

c_mlog_example.obj: mlog
	cl /c c_mlog_example.c

cpp_mlog_example.obj: mlog
	cl /c cpp_mlog_example.cpp

mlog:
	cl /c mlog.c
	lib mlog.obj

clean:
	del -f *.lib *.exe *.obj

